<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page import="collector.Collector"%>
<%@page import="collector.interfaces.IInfoCollector"%>
<%@page import="java.util.List"%>
<%
    IInfoCollector collector = Collector.getInstance(request.getParameter("url"));
	if (null != collector) {
		request.setAttribute("infos", collector.getInformation(request.getParameter("url")));
	}
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>test2</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<!--
		<link rel="stylesheet" type="text/css" href="styles.css">
		-->
		<script type="text/javascript" src="${pageContext.request.contextPath}/scripts/Power/temp.js"></script>

	</head>

	<body>
		<table border="1">
		<c:forEach var="info" items="${infos}">
			<tr>
				<td><a href="${info.link}">${info.desc}</a></td>
				<td><i>${info.date}</i></td>
			</tr>
		</c:forEach>
		</table>
	</body>
	
</html>
